#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include<QHBoxLayout>
#include<QMainWindow>
#include<QSplitter>
#include<QVBoxLayout>
#include<QWidget>

#include"metadatadisplay.h"
#include"tracklist.h"
#include"playercontroller.h"
#include"playlist.h"

class MainWindow:public QMainWindow
{
Q_OBJECT
public:
    MainWindow();
    ~MainWindow();

    Playlist *playlist()const{ return m_playlist; }
private:
    Playlist *m_playlist;
    QWidget *m_widget;
    QVBoxLayout *m_layout;
    QWidget *m_innerWidget;
    QHBoxLayout *m_innerLayout;
    PlayerController *m_controller;
    QSplitter *m_splitter;
    TrackList *m_tracklist;
    MetaDataDisplay *m_metaDataDisplay;
};

#endif // MAINWINDOW_H
